<include file="public@header" />
</head>
<body>
	<div class="wrap">
		<table class="table table-hover table-bordered margin-top-20">
			<thead>
				<tr>
					<th>进度名称</th>
					<th>进度状态</th>
					<th>目标时间</th>
					<th>操作</th>
				</tr>
			</thead>
			<tbody>
			<volist name="lists" id="vo">
				<tr>
					<td>{$vo.name}</td>
					<td>
						<switch name="vo.status">
							<case value="0">未完成</case>
							<case value="1">已完成</case>
						</switch>
					</td>
					<td>{$vo.date|date="Y-m-d",###}</td>
					<td>
						<eq name="info.yunying" value="$uid">
						<eq name="vo.status" value="0">
							<if condition="auth_check('changetofinal')">
								<a href='{:url("changetofinal",array("id"=>$vo["id"],"pid" => $info["pid"]))}' class="js-ajax-dialog-btn" data-msg="是否确定完成？">完成</a>
							</if>
						</eq>
						</eq>
					</td>
				</tr>
			</volist>
			</tbody>
		</table>
	</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>